﻿namespace ProjectShared
{
    public class Cadcmds : IExtensionApplication
    {
        public void Initialize()
        {
            Acap.DocumentManager.MdiActiveDocument.Editor.WriteMessage("正在初始化……");
        }

        public void Terminate()
        {
            throw new NotImplementedException();
        }

        [CommandMethod(nameof(TemplateTest))]
        public void TemplateTest()
        {
            Acap.DocumentManager.MdiActiveDocument.Editor.WriteMessage("TemplateTest 测试成功！");
        }
    }
}
